<?php
/**
 * @brief 
 *
 * @license 	http://www.gnu.org/licenses/gpl-3.0.txt GNU General Public License
 * @copyright	2007 David Singer
 * @author	   	David Singer <david@ramaboo.com>
 * @version    	1.0.0
 */


require_once('../includes/common.php');


$record = array(
	'priority'=>23, 
	'host'=>'sdfsd.moo', 
	'data'=>'moo', 
	'ttl'=>45
);

$record['id'] = rand();

$rows = array();
$rows[] = $record;
$results = array('records'=>$rows);

$output = json_encode($results);
header_no_cache(strlen($output), 'application/json');
echo $output;
?>